import type { Deployment } from "./types";

export const newDeployment = (): Deployment => {
  return {
    apiVersion: "apps/v1",
    kind: "Deployment",
    metadata: {
      labels: {},
      annotations: {}
    },
    spec: {
      replicas: 1,
      selector: {
        matchLabels: {}
      },
      template: {
        metadata: {
          labels: {}
        },
        spec: {
          containers: [],
          serviceAccount: "default",
          affinity: {}
        }
      },
      strategy: {}
    }
  };
};
